Use Platformio to take the place of Arduino
Set up a python2 environment
cd your_project_path sudo pip install pipenv sudo pipenv --python 2.7 sudo pipenv install platformio sudo pipenv shellFind out your board name id
platformio boards your_board_namehttps://platformio.org/boards
http://docs.platformio.org/en/latest/quickstart.html
Initialize your project
If you got an
unoboard, you just have to run this:platformio init --board unoWriting codes
mkdir src cd srcWrite the following codes into
main.cpp:#include "Arduino.h" void setup() { } void loop() { }Run or Upload as you like
Build your project:
platformio runUpload your codes into board:
platformio run --target upload